package sqlsession;

import java.util.List;

/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2020-01-08 16:01
 * @notify
 * @version 1.0
 */
public interface SqlSession {
    <T> T selectOne(String statementId, Object param)throws Exception;

    <T> List<T> selectList(String statementId, Object param)throws Exception;

    boolean insert(String statementId, Object param)throws Exception;
}
